<%@page import="com.ym.b2b.cache.configcache.WebAppConfig"%>
<%@page import="com.ym.b2b.news.sqlbean.EmBNews"%>
<%@page import="java.util.List"%>
<%@page import="com.zc.commons.base.Result"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ page contentType="text/html; charset=UTF-8"%>
<%@ taglib prefix="b" uri="/b2b-tags"%>
<script>
/* 	setFocus(5); */
</script>
<link type="text/css" rel="stylesheet" href="<c:url value="/views/jsp/cms/news/lib/index.css" />">
<link type="text/css" rel="stylesheet" href="<c:url value="/views/jsp/cms/news/lib/head2014.css" />">
<div class="wrap main_body mb20 clearfix">
	<div class="wrap now_loc bgf8">
		<p>
			你现在所在位置： 
			<b:position typeId="${detailNews.newsTypeId }" positionType="cms" />
		</p>
	</div>
	<div class="con_left">
		<div class="article">
			<div class="article_title_area">
				<h1>${detailNews.newsTitle }</h1>
				<c:if test="${not empty  detailNews.endDate}">
				<h2>开始时间: ${detailNews.publishDate }&nbsp;&nbsp;&nbsp;&nbsp;结束时间:${detailNews.endDate }</h2>
				</c:if>
			</div>
			<div class="article_content">
					${detailNews.newsContent }
			</div>
		</div>
		<c:if test="${p.newsTypeId!='278' }">
		<div class="clearfix">
			<div class="f_l mb20">
				<div class="z_h3 clearfix">
					<h2>
						<span>相关文章</span>
					</h2>
				</div>
				<b:showNews limitRow="8" outResponseAttrName="xianguanNews" newsTypeId="${detailNews.newsTypeId }" getType="list" />
				<c:forEach  var="p" items="${xianguanNews.rows }" begin="0" end="0">
				<div class="z_info clearfix">
					<a href="<c:url value="/news/showNewsDetail.s" />?newsId=${p.newsId}" class="z_info_l">
						<c:if test="${empty  p.smallPic}">
						<img src="<c:url value="/views/jsp/cms/news/lib/zwt.jpg" />" alt="${p.newsTitle }">
					</c:if>
					<c:if test="${not empty  p.smallPic}">
						<img src="<%=WebAppConfig.getPicPath() %>${p.smallPic}" alt="${p.newsTitle }">
					</c:if>
					</a>
					<p class="z_info_r">
						<a href="<c:url value="/news/showNewsDetail.s" />?newsId=${p.newsId}" title="${p.newsTitle }"><b>${p.newsTitle }</b></a><span>${p.newsTitle }</span>
					</p>
				</div>
				</c:forEach>
				<ul class="list_dot">
					<c:forEach  var="p" items="${xianguanNews.rows }" begin="1">
						<li><a href="<c:url value="/news/showNewsDetail.s" />?newsId=${p.newsId}" title="${p.newsTitle }">${p.newsTitle }</a></li>
					</c:forEach>
				</ul>
			</div>
			<div class="f_m mb20">
				<div class="z_h3 clearfix">
					<h2>
						<span>更多文章</span>
					</h2>
				</div>
				<b:showNews limitRow="11" outResponseAttrName="moreNews" getType="list"  />
				<c:forEach  var="p" items="${moreNews.rows }" begin="0" end="0">
				<div class="z_info clearfix">
					<a href="<c:url value="/news/showNewsDetail.s" />?newsId=${p.newsId}" class="z_info_l">
						<c:if test="${empty  p.smallPic}">
						<img src="<c:url value="/views/jsp/cms/news/lib/zwt.jpg" />" alt="${p.newsTitle }">
					</c:if>
					<c:if test="${not empty  p.smallPic}">
						<img src="<%=WebAppConfig.getPicPath() %>${p.smallPic}" alt="${p.newsTitle }">
					</c:if>
					</a>
					<p class="z_info_r">
						<a href="<c:url value="/news/showNewsDetail.s" />?newsId=${p.newsId}" title="${p.newsTitle }"><b>${p.newsTitle }</b></a><span>${p.newsTitle }</span>
					</p>
				</div>
				</c:forEach>
				<ul class="list_dot">
					<c:forEach  var="p" items="${moreNews.rows }">
						<li><a href="<c:url value="/news/showNewsDetail.s" />?newsId=${p.newsId}" title="${p.newsTitle }">${p.newsTitle }</a></li>
					</c:forEach>
				</ul>
			</div>
		</div>
		</c:if>
	</div>
	</div>
</div>